]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
viewSelector: Make the start search event available to input methods
authorRui Matos <tiagomatos@gmail.com>
Fri, 14 Sep 2012 18:04:18 +0000 (20:04 +0200)
committerRui Matos <tiagomatos@gmail.com>
Fri, 14 Sep 2012 19:50:38 +0000 (21:50 +0200)
Since we now use the capture phase to feed events into the input
method, we must set the capture flag for the event that starts
searches so that IMs can get at it.

https://bugzilla.gnome.org/show_bug.cgi?id=684040

js/ui/viewSelector.js

index 1d4a95345ce4a57d5663a639a6ccd6ac6207fef7..5772f4da675c786dde163a00f5bf324729649512 100644 (file)
@@ -311,7 +311,7 @@ const ViewSelector = new Lang.Class({
 
     startSearch: function(event) {
         global.stage.set_key_focus(this._text);
-        this._text.event(event, false);
+        this._text.event(event, true);
     },
 
     // the entry does not show the hint